# Maintainer: Antonio Rojas <arojas@archlinux.org>

pkgname=mauikit-documents
pkgver=3.0.1
pkgrel=2
pkgdesc='MauiKit QtQuick plugins for text editing'
url='https://mauikit.org/'
arch=(loong64 x86_64)
license=(LGPL)
depends=(mauikit kio5 kfilemetadata5)
makedepends=(extra-cmake-modules poppler-qt5)
source=(https://download.kde.org/stable/maui/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz)
sha256sums=('7b48173bdf28c71d5b9c3b3794d75058d07464a0699cb1545114affeded74df0')

build() {
  cmake -B build -S $pkgname-$pkgver
  cmake --build build
}

package() {
  DESTDIR="$pkgdir" cmake --install build
}
